package cn.dnui_xcz826.dnuifood_16110100826.iface;

import cn.dnui_xcz826.dnuifood_16110100826.listener.onRetrofitListener;

/**
 * Created by Administrator on 2018/11/19.
 */

public interface CommentIface {
    void getAllCommentsByFood(String food_id,
                              onRetrofitListener listener);

    void getAllCommentsByUser(String user_id,
                              onRetrofitListener listener);

    void insertComment(String item_id,
                       String content,
                       onRetrofitListener listener);

    void updateComment(String item_id,
                       String content,
                       onRetrofitListener listener);

    void deleteComment(String item_id,
                       onRetrofitListener listener);
}
